
<div class="full-screen">
    <div class="msg">
        <div class="success">
          <center>
  <br><br><br> <br><br><br>
            <div><{$msg}></div>
            <{if $error_info}>
            <ol>
            <{foreach from=$error_info item=item}>
            <li>
            [<{$item[0]}>]<{$item[1]}>
            <{if $env.const.debug_code}>
            (<{$item[2]}>:<{$item[3]}>)
                <{/if}>
            </li>
            <{/foreach}>
            </ol>
            <{/if}>
            
                 <{if $wait>0}>
        <span><font color="red" > 您的账号注册申请已经提交，后台人员将在3个工作日内完成审核</font></span><br>
        <a class="jumpurl" 
        onclick="javascript:clearTimeout(SiteSplash);" 
        href="<{if $jumpto=='back'}>javascript:history.back()<{else}><{$jumpto}><{/if}>">倒数：  
        <span id="waitTime">  </span><{t app='site'}>   秒后系统会自动跳转到首页，<span style="text-decoration:underline">也可点击此处直接跳转</span><{/t}>
        </a>
               <{/if}>
 <br><br><br> <br><br><br> 
         </center>
        </div>
	</div>
</div>
		<{if $wait>0}>
		<!-- add by 黄智坤  倒数秒数 后自动跳转 -->
		<script type="text/javascript">
			window.onload=function(){
				//console.log("运行");
				var wait=20;
				time();
				function time() {
				  	if (wait == 0) {
				  		jumpurl();
				  	  //location='<{$jumpto}>';
				  	} 
				  	else { 
				   		wait--;
				   		document.getElementById("waitTime").innerHTML=wait;
				   		//console.log(wait);
					   	setTimeout(function() {
					    	time()
					   	},1000);
				  	}
				 }
			}
			
			function jumpurl(){
				 <{if $jumpto=='back'}>history.back()<{else}>location='<{$jumpto}>'<{/if}>;  
			}
				var SiteSplash = setTimeout('jumpurl()',<{$wait*1000}>);
		</script>
		<{/if}>
